home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / flcpp2.zip / MAKEFILE < prev    next >
Text File  |  1991-07-19  |  978b  |  46 lines

  1.  
  2. # Note change the two defines for the location of your borland C++ compiler
  3.  
  4. ### Borland directory information
  5. BLIB=f:\borlandc\lib\\
  6. BINC=f:\borlandc\include
  7.  
  8. ### Compiler information
  9. COMPILER=bcc                           ### Which compiler to use.
  10. LINKER=tlink                           ### Which linker to use.
  11.  
  12.  
  13. ### Program information. 
  14. MODEL=s                                 ### Model CHANGE WITH CAUTION!!! 
  15.  
  16. # ----- Make options -----
  17. .SWAP
  18.  
  19. # ----- DOS OPTIONS -----
  20. # ----- Libraries to link.
  21. STARTUP_OBJS=f:\borlandc\lib\c0$(MODEL)
  22. LIBRARIES=$(BLIB)emu+$(BLIB)math$(MODEL)+$(BLIB)c$(MODEL)
  23. # ----- Compile options-----
  24. COPTS=-O -Z -V -w -m$(MODEL)
  25. LOPTS=/c /x
  26. RC=@rem
  27.  
  28.  
  29. ### ----- How to make the .EXE file.
  30. demo.exe: demo.obj flexlist.obj 
  31.     $(LINKER) $(LOPTS) @&&!
  32. $(STARTUP_OBJS)+
  33. demo+flexlist
  34. $*
  35.  
  36. $(LIBRARIES)
  37. $(DEF)
  38. !
  39.     $(RC)
  40.  
  41. ### ----- How to make dependant files.
  42. .cpp.obj:
  43.     $(COMPILER) $(COPTS) -I$(BINC) -c $*
  44.  
  45.  
  46.